﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MainPage.aspx.cs" Inherits="Exhibition_MainPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <table >
  <tr>
  <td style="width: 848px"><asp:DataList ID="DataList1" runat="server" RepeatColumns="1" Width="100%" Height="100%">
                <ItemTemplate>
                      
                    <table>
                     <tr>
                            <td style="width: 100px">Time
                            </td>
                            <td style="width: 100px">Title
                            </td>
                            <td style="width: 100px">Speechmaker
                            </td>
                             <td style="width: 100px">Place
                            </td>
                             <td style="width: 100px">Link
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 100px"><%# DataBinder.Eval(Container.DataItem, "TrainDate").ToString()%>
                            </td>
                            <td style="width: 100px"><%# DataBinder.Eval(Container.DataItem, "Title").ToString()%>
                            </td>
                            <td style="width: 100px"><%# DataBinder.Eval(Container.DataItem, "EXT1").ToString()%>
                            </td>
                             <td style="width: 100px"><%# DataBinder.Eval(Container.DataItem, "TrainUnit").ToString()%>
                            </td>
                             <td style="width: 100px"><a href='TrainDetal.aspx?id=<%# DataBinder.Eval(Container.DataItem, "ID").ToString()%>' target=_blank>
                     Click for Detail
                      </a>
                            </td>
                        </tr>
                    </table>
                    <br /><br />
                </ItemTemplate> 
                </asp:DataList>
  </td></tr></table>
    </form>
</body>
</html>
